{extend name="../application/public/base.html" /}
{block name="head"}
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/list.css">
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/btn.css">
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/form.css">
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
		<div class="layui-fluid">
		    <div class="layui-row layui-col-space15">
		        <div class="layui-col-md12">
                    <div class="layui-card">
                        <form class="layui-form layui-card-body layui-col-space30">
                            <div class="layui-input-inline layui-show-xs-block">
                                <label style="padding: 0 3px 0 0;">供应商</label>
                                <div class="layui-input-inline">
                                    <select name="supplier_id" class="layui-select">
                                        <option value="">请选择供应商</option>
                                        {volist name="supplier" id="v"}
                                        <option value="{$v.supplier_id}">{$v.supplier_name}</option>
                                        {/volist}
                                    </select>
                                </div>
                            </div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <label style="padding: 0 3px 0 0;">退款类型</label>
                                <div class="layui-input-inline">
                                    <select name="ty" class="layui-select">
                                        <option value="">所有退款类型</option>
                                        <option value="1">退货</option>
                                        <option value="0">召回</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <div class="layui-input-inline">
                                    <input type="text" name="start" placeholder="开始日" id="start" class="layui-input">
                                </div>
                                <div class="layui-input-inline">
                                    <input type="text" name="end" placeholder="结束日" id="end" class="layui-input">
                                </div>
                                <div class="layui-input-inline layui-show-xs-block">
                                    <div class="layui-btn" lay-submit="" lay-filter="search">
                                        <i class="layui-icon">&#xe615;</i></div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="layui-card">
                        <div class="layui-card-body" id="oper-box">
                           <!--  <span class="zcc-title">退款记账</span> -->
                            
                        </div>
                    </div>
		            <div class="layui-card">
                        <div class="layui-card-body">
                            <!-- 退款记账 start -->
                            <div class="layui-tab layui-tab-card" style="margin-bottom:15px;">
                                <div class="layui-tab-content">
                                    <table class="layui-table layui-form" id="table-list" lay-filter="list">
                                        
                                    </table>
                                </div>
                            </div>
                            <!-- 退款记账 end -->
                           
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
{/block}
{block name="script"}
    <script type="text/javascript" src="ADMIN_CUSTOM/js/finance/refund/index.js"></script>
    <script id="table-btn" type="text/html">
        <div class="layui-btn layui-bg-red" lay-event="del">删除</div>
    </script>
    <script id="oper_box" type="text/html">
        <div class="layui-btn" onclick="xadmin.open('新增退款','/finance/refund/add')">新增退款</div>
        <div class="green-border-btn">退款总额：{{d}}元</div>
    </script>
{/block}